import React from 'react'
import ReactDOM from 'react-dom/client'
import App from './App.tsx'
import zhCN from 'antd/locale/zh_CN';
import { ConfigProvider } from 'antd';
import dayjs from 'dayjs';
import './index.less'

dayjs.locale('ch');

// const {  } = theme;

const themeConfig = {
  algorithm: [],
  token: { colorPrimary: '#0960bd' },
}

ReactDOM.createRoot(document.getElementById('root')!).render(
  <React.StrictMode>
    <ConfigProvider theme={themeConfig} locale={zhCN} >
      <App />
    </ConfigProvider>
  </React.StrictMode>,
)


